//
//  CustomTableViewCell.m
//  20作业汽车之家
//
//  Created by dllo on 16/8/10.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "CustomTableViewCell.h"

@implementation CustomTableViewCell


- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        _leftImageView = [[UIImageView alloc] init];
        [self addSubview:_leftImageView];
        _label = [[UILabel alloc] init];
        [self addSubview:_label];
    }
    return self;
}

- (void)layoutSubviews
{
    _leftImageView.frame = CGRectMake(10, 10, 20, 20);
    _leftImageView.backgroundColor = [UIColor redColor];
    _label.frame = CGRectMake(40, 10, 40, 20);
    _label.backgroundColor = [UIColor greenColor];
}


- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
